<string>disktool -r; vsdbutil -a "`diskutil info "SDTargetVolume.Device" | awk -F : '/Mount Point/ {print $2}' | cut -c 9-`"</string>
<key>infoMsg</key>
<string>Enabling permissions on SDTargetVolume.Name</string>
</dict>
<dict>
<key>command</key>
<string>vsdbutil -c "`diskutil info "SDTargetVolume.Device" | awk -F : '/Mount Point/ {print $2}' | cut -c 9-`" | grep -i "enabled"; if [ "$?" == "1" ]; then echo "Could not disabled Ignore Permissions for " SDTargetVolume.'Name >&2; exit 2; fi </string>
<key>infoMsg</key>
<string>Verifying that permissions are enabled for SDTargetVolume.Name</string>
</dict>
</array>
</dict>
</array>
</dict>
<dict>
<key>Phase</key>
<string>Conclude Target Setup</string>
<key>ActionList</key>
<array>
<dict>
<key>Action</key>
<string></string>
<key>infoMsg</key>
<string>Bless System on SDTargetVolume.Name</string>
<key>CommandList</key>
<array>
<dict>
<key>command</key>
<string>eval MP=$(SDdiskTool.'Path -m SDTargetVolume.Device); if [ -a "${MP}"/System/Library/CoreServices ]; then UCHGSET=$(ls -lo "${MP}"/System/Library/CoreServices/BootX | grep -vqF uchg; echo $?); chflags nouchg "${MP}"/System/Library/CoreServices/BootX; bless -folder "${MP}"/System/Library/CoreServices -bootinfo "${MP}"/usr/standalone/ppc/bootx.bootinfo -save9; if [ $UCHGSET -eq 1 ]; then chflags uchg "${MP}"/System/Library/CoreServices/BootX; fi; echo "Successfully blessed Mac OS X folder on `basename \"${MP}\"`"; else echo "Did not bless Mac OS X System Folder on `basename \"${MP}\"` because it does not exist."; fi</string>
<key>infoMsg</key>
<string>Blessing OS X System Folder</string>
</dict>
<dict>
<key>command</key>
<string>VOLUME=$(diskutil info "SDTargetVolume.Device" | awk -F : '/Mount Point/ {print $2}' | cut -c 9-); if [ -a "${VOLUME}/System Folder" ]; then bless -folder9 "${VOLUME}/System Folder" -saveX; echo "Successfully blessed Mac OS 9 System Folder on `basename ${VOLUME}`"; else echo "Did not bless Mac OS 9 System Folder on `basename ${VOLUME}` because it does not exist."; fi</string>
<string>Invoking site customization script: _SDSiteCustomizationScript.Path</string>
</dict>
</array>
</dict>
<dict>
<key>Action</key>
<string>shouldRebootFromTarget</string>
<key>infoMsg</key>
<string>Reboot from SDTargetVolume.Name</string>
<key>CommandList</key>
<array>
<dict>
<key>command</key>
<string>eval MP=$(SDdiskTool.'Path -m SDTargetVolume.Device); if [ -a "${MP}"/System/Library/CoreServices ]; then UCHGSET=$(ls -lo "${MP}"/System/Library/CoreServices/BootX | grep -vqF uchg; echo $?); chflags nouchg "${MP}"/System/Library/CoreServices/BootX; bless -folder "${MP}"/System/Library/CoreServices -bootinfo "${MP}"/usr/standalone/ppc/bootx.bootinfo -save9 -setOF; if [ $UCHGSET -eq 1 ]; then chflags uchg "${MP}"/System/Library/CoreServices/BootX; fi; echo "Successfully set `basename \"${MP}\"` as startup disk"; else echo "Could not set startup disk to `basename \"${MP}\"` because it does not contain a valid Mac OS X System Folder."; exit 1; fi</string>
<key>infoMsg</key>
<string>Setting startup disk to SDTargetVolume.Name</string>
</dict>
<dict>
<key>command</key>
<string>osascript -e 'Tell application "System Events" to restart' &</string>